<?php


namespace app\model;


use think\Model;

class User extends Model
{
    public function projects()
    {
        return $this->hasMany(Profile::class, 'user_id');
    }
}